Loupe - Log - Monitor - Resolve
Gibraltar.Server.Client Namespace / WebChannel Class / DownloadString Method / DownloadString(String,HttpMethod,Nullable<Int32>) Method
The HTTP method used to send the string to the resource. If null, the default is GET
Optional. The number of seconds to wait for a response to the request.

In This Topic
    DownloadString(String,HttpMethod,Nullable<Int32>) Method
    In This Topic
    Downloads the resource with the specified URI to a string
    Syntax
    'Declaration
     
    
    <AsyncStateMachineAttribute(Gibraltar.Server.Client.WebChannel/d__64)> 
    Public Overloads Function DownloadString( _ 
       ByVal relativeUrl As String, _ 
       ByVal method As HttpMethod, _ 
       ByVal timeout As Nullable(Of Integer) _ 
    ) As Task(Of String)
    [AsyncStateMachine(Gibraltar.Server.Client.WebChannel/d__64)] 
    public Task<string> DownloadString( 
       string relativeUrl, 
       HttpMethod method, 
       Nullable<int> timeout 
    )

    Parameters

    relativeUrl
    method
    The HTTP method used to send the string to the resource. If null, the default is GET
    timeout
    Optional. The number of seconds to wait for a response to the request.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also